//
//  LAStraightPolyLine.h
//  OutdoorAssistantApplication
//
//  Created by 罗亮富 on 2018/6/26.
//  Copyright © 2018年 Lolaage. All rights reserved.
//
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
#elif TARGET_OS_MAC
#import <Cocoa/Cocoa.h>
#endif
#import <MapBasics/LAPolyline.h>
#import "LATexttPolylineRenderer.h"

//可以显示文字的polyLine
@interface LATextPolyline : LAPolyline<LAOverLayExt>

//如果线段已经绘制，设定下面的值需要调用-refreshPolyLine才可让设置生效
@property (nonatomic,copy) NSString *text;
#if TARGET_OS_IPHONE
@property (nonatomic,copy) UIFont *font;
@property (nonatomic,copy) UIColor *textColor;//default is the same to lineColor
@property (nonatomic,copy) UIColor *textBackgroundColor; //default is nil
#else
@property (nonatomic,copy) NSFont *font;
@property (nonatomic,copy) NSColor *textColor;//default is the same to lineColor
@property (nonatomic,copy) NSColor *textBackgroundColor; //default is nil
#endif



@end


